# -*- coding=utf-8 -*-

import sys
from PyQt4 import QtGui
reload(sys)


sys.setdefaultencoding('utf-8')

app = QtGui.QApplication(sys.argv)
widget = QtGui.QWidget()
widget.resize(350, 250)
widget.setWindowTitle(u'frist window')
widget.show()
sys.exit(app.exec_())
